package com.czg.designmode.singleton;

/**
 * 懒汉式单例-线程不安全
 *
 * @author chenzhigang
 */
public class LanHanShiSingleton {

    private static LanHanShiSingleton lanHanShiSingleton;

    public static LanHanShiSingleton getInstance() {
        if (null == lanHanShiSingleton) {
            lanHanShiSingleton = new LanHanShiSingleton();
        }
        return lanHanShiSingleton;
    }

}
